#include<iostream>
//#include<stack>
//#include<queue>
#include"stack.h"
#include"queue.h"
using namespace my_std;



void stack_test()
{
	//stack<int> st1;
//if (st1.empty())
//{
//	cout << " true" << endl;
//}


	stack<int> st1;
	st1.push(1);
	st1.push(2);
	st1.push(3);
	st1.push(4);
	std::cout << st1.top() << std::endl;
	st1.pop();
	std::cout << st1.top() << std::endl;
 }

void queue_test()
{
	//queue<int> q;
	//if (q.empty())
	//{
	//	cout << true << endl;
	//}
	//else
	//{
	//	cout << false << endl;
	//}

	queue<int> q;
	q.push(10);
	q.push(2);
	q.front() -= q.back();
	std::cout << q.front() << std::endl;

}


int main()
{
	//stack_test();
	queue_test();

	return 0;
}